package c.h.a.x;

import c.h.a.m0.n;

/* compiled from: lambda */
public final /* synthetic */ class o implements Runnable {
    public final /* synthetic */ String a;
    public final /* synthetic */ String b;
    public final /* synthetic */ n c;

    public /* synthetic */ o(String str, String str2, n nVar) {
        this.a = str;
        this.b = str2;
        this.c = nVar;
    }

    /* JADX WARNING: Missing exception handler attribute for start block: B:17:0x0053 */
    /* JADX WARNING: Removed duplicated region for block: B:33:? A:{SYNTHETIC, RETURN} */
    /* JADX WARNING: Removed duplicated region for block: B:20:0x0063 A:{SYNTHETIC, Splitter:B:20:0x0063} */
    /* JADX WARNING: Removed duplicated region for block: B:25:0x006a A:{SYNTHETIC, Splitter:B:25:0x006a} */
    /* JADX WARNING: Failed to process nested try/catch */
    /* JADX WARNING: Missing block: B:21:?, code skipped:
            r1.close();
     */
    /* JADX WARNING: Missing block: B:29:?, code skipped:
            return;
     */
    /* JADX WARNING: Missing block: B:33:?, code skipped:
            return;
     */
    public final void run() {
        /*
        r6 = this;
        r0 = r6.a;
        r1 = r6.b;
        r2 = r6.c;
        r3 = c.h.a.x.r.b;
        r4 = c.h.a.m0.j.e(r3);
        if (r4 != 0) goto L_0x001a;
    L_0x000e:
        r2.getClass();
        r0 = new c.h.a.m0.a;
        r0.m2067init(r2);
        c.h.a.m0.p.a.b(r0);
        goto L_0x0066;
    L_0x001a:
        r4 = new java.io.File;
        r4.<init>(r3, r1);
        r1 = c.h.a.m0.j.b(r4);
        if (r1 != 0) goto L_0x0031;
    L_0x0025:
        r2.getClass();
        r0 = new c.h.a.m0.a;
        r0.m2067init(r2);
        c.h.a.m0.p.a.b(r0);
        goto L_0x0066;
    L_0x0031:
        r1 = 0;
        r3 = new java.io.PrintWriter;	 Catch:{ FileNotFoundException -> 0x0053 }
        r5 = r4.getPath();	 Catch:{ FileNotFoundException -> 0x0053 }
        r3.<init>(r5);	 Catch:{ FileNotFoundException -> 0x0053 }
        r3.print(r0);	 Catch:{ FileNotFoundException -> 0x004f, all -> 0x004d }
        r2.getClass();	 Catch:{ FileNotFoundException -> 0x004f, all -> 0x004d }
        r0 = new c.h.a.m0.b;	 Catch:{ FileNotFoundException -> 0x004f, all -> 0x004d }
        r0.m2068init(r2);	 Catch:{ FileNotFoundException -> 0x004f, all -> 0x004d }
        c.h.a.m0.p.a.b(r0);	 Catch:{ FileNotFoundException -> 0x004f, all -> 0x004d }
        r3.close();	 Catch:{ IOException -> 0x0066 }
        goto L_0x0066;
    L_0x004d:
        r0 = move-exception;
        goto L_0x0068;
    L_0x004f:
        r1 = r3;
        goto L_0x0053;
    L_0x0051:
        r0 = move-exception;
        goto L_0x0067;
    L_0x0053:
        r4.delete();	 Catch:{ all -> 0x0051 }
        r2.getClass();	 Catch:{ all -> 0x0051 }
        r0 = new c.h.a.m0.a;	 Catch:{ all -> 0x0051 }
        r0.m2067init(r2);	 Catch:{ all -> 0x0051 }
        c.h.a.m0.p.a.b(r0);	 Catch:{ all -> 0x0051 }
        if (r1 == 0) goto L_0x0066;
    L_0x0063:
        r1.close();	 Catch:{ IOException -> 0x0066 }
    L_0x0066:
        return;
    L_0x0067:
        r3 = r1;
    L_0x0068:
        if (r3 == 0) goto L_0x006d;
    L_0x006a:
        r3.close();	 Catch:{ IOException -> 0x006d }
    L_0x006d:
        throw r0;
        */
        throw new UnsupportedOperationException("Method not decompiled: c.h.a.x.o.run():void");
    }
}
